* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #333;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.banner .blocks {
  display: block;
  position: relative;
  width: 5vw;
  height: 5vh;
  box-sizing: border-box;
  animation: animate 0.75s ease-in-out forwards;
}

.banner .blocks:nth-child(even) {
  animation: animate 1s ease-in-out forwards;
}

.banner .blocks:nth-child(7n + 3) {
  animation: animate 2.5s ease-in-out forwards;
  z-index: 10;
}

.banner .blocks:nth-child(7n + 7) {
  animation: animate 1.5s ease-in-out forwards;
  z-index: 11;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(1000px);
    opacity: 0;
  }

  50% {
    opacity: 1;
    background: url(/assets/img/bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }

  100% {
    background: url(/assets/img/bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }
}
